package com.wskj.workbench.bo.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AppUserPasswordEditBo", description = "密码修改")
public class AppUserPasswordEditBo implements Serializable {

    @ApiModelProperty("旧密码")
    @NotNull(message = "旧密码不能为空")
    private String oldPassword;

    @ApiModelProperty("新密码")
    @NotNull(message = "新密码不能为空")
    private String newPassword;

}